export default {
  data() {
    return {
      activityVisible: false,
      activityId: 0
    }
  },
  methods: {
    addActivity() {
      this.activityId = 0
      this.activityVisible = true
    },
    editActivity(id) {
      this.activityVisible = true
      this.activityId = id
    },
    reset() {
      this.activityVisible = false
      this.getAll(this.formInline)
    }
  }
}
